package model

import (
	"time"
)

type GetAreaSelectorRes struct {
	RetCode int64          `json:"retCode"`
	Area    []AreaSelector `json:"area"`
}

type AreaSelector struct {
	Id    int64  `json:"id"`
	Value string `json:"value"`
}

type GetAreasListRes struct {
	RetCode int64       `json:"retCode"`
	Total   int64       `json:"total"`
	Data    []AreasList `json:"data"`
}

type AreasList struct {
	Id               int64     `json:"id"`
	ProvinceCityName string    `json:"provinceCityName"`
	Name             string    `json:"name"`
	SchoolNum        int64     `json:"schoolNum"`
	IsExperiment     string    `json:"isExperiment"`
	ExperimentNum    int64     `json:"experimentNum"`
	StandoutNum      int64     `json:"standoutNum"`
	Contact          string    `json:"contact"`
	ContactPhone     string    `json:"contactPhone"`
	ContactEmail     string    `json:"contactEmail"`
	JoinYear         int64     `json:"joinYear"`
	ExperimentAt     time.Time `json:"experimentAt"`
	StandoutAt       time.Time `json:"standoutAt"`
	ContactAddress   string    `json:"contactAddress"`
}

type GetSchoolRankRes struct {
	RetCode int64            `json:"retCode"`
	Data    []SchoolRankList `json:"data"`
}

type SchoolRankList struct {
	Rank          int64   `json:"rank"`
	Name          string  `json:"name"`
	ExcellentRate float64 `json:"excellentRate"`
	PassingRate   float64 `json:"passingRate"`
}
